/*
 * @Author: sunzhijun 
 * @Date: 2019-11-25 10:57:52 
 * @Last Modified by: sunzhijun
 * @Last Modified time: 2020-03-13 15:52:07
 */
import './index.less';
export default function cardPagination(props){
    const {main: { isCardPaginationVisible }, cardPagination, action} = props;
    const {createCardPagination} = cardPagination;
    return (
        <span className="pagination-card">
            {
                isCardPaginationVisible ?  
                    createCardPagination({ 
                        handlePageInfoChange: action.headerAct.handlePageChange
                    })
                : null
            }
        </span>
    )
}